package com.smh.demo1.a01;

import org.springframework.context.ApplicationEvent;
import org.springframework.stereotype.Component;

/**
 * @author shiminghui
 * @date 2025/4/9 18:11
 * @description: TODO
 */
public class MyEvent extends ApplicationEvent {

    // 参数是事件源,即事件触发时携带的数据
    public MyEvent(Object source) {
        super(source);
    }
}
